package org.xue.snowmall.group.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.xue.snowmall.common.utils.PageUtils;
import org.xue.snowmall.common.utils.Query;

import org.xue.snowmall.group.dao.JoinRecordDao;
import org.xue.snowmall.group.entity.JoinRecordEntity;
import org.xue.snowmall.group.service.JoinRecordService;


@Service("joinRecordService")
public class JoinRecordServiceImpl extends ServiceImpl<JoinRecordDao, JoinRecordEntity> implements JoinRecordService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<JoinRecordEntity> page = this.page(
                new Query<JoinRecordEntity>().getPage(params),
                new QueryWrapper<JoinRecordEntity>()
        );

        return new PageUtils(page);
    }

}